# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-lunr
pkgver=0.6.0
pkgrel=1
pkgdesc="python implementation of Lunr.js"
url="https://github.com/yeraydiazdiaz/lunr.py"
arch="noarch"
license="MIT"
depends="python3 py3-future py3-six"
makedepends="py3-setuptools"
checkdepends="py3-coverage py3-mock py3-pytest py3-pytest-timeout py3-tox"
source="https://files.pythonhosted.org/packages/source/l/lunr/lunr-$pkgver.tar.gz"
builddir="$srcdir/lunr-$pkgver"
options="!check" # No tests yet.

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="035f1ba81e4a7323b88eb0e5fb2482814808dfe7c5781f4a2767e7003d66fe97f8f2957f3506f406399d4a293c4105a98ff282d377d42a03b3ce9e41101db34c  lunr-0.6.0.tar.gz"
